package com.xupla.teentweet;
import android.support.v4.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;


public class AdvancedFragmentActivity extends Fragment {
	private int layout = -1;
	
	public void AdvancedFragmentFragment( int newLayout ) 
	{
		layout = newLayout;
	}
	
	public View onCreateView( LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState )
	{
		setContentView(R.layout.activity_advanced_fragment);
		return inflater.inflate( layout, container, false );		
	}

}
/*package com.xupla.teentweet;

import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;

public class AdvancedFragmentActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_advanced_fragment);
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.activity_advanced_fragment, menu);
		return true;
	}

}
*/